package com.cp.springbootone.mapper;

import com.cp.springbootone.pojo.MsgLog;
import com.cp.springbootone.service.batch.BatchProcessMapper;

import java.util.List;

/**
 * @author ChengPeng
 * @create 2020-07-31 17:27
 */
public interface MsgLogMapper extends BatchProcessMapper<MsgLog> {

    void insert(MsgLog msgLog);

    void updateStatus(MsgLog msgLog);

    List<MsgLog> selectTimeoutMsg();

    void updateTryCount(MsgLog msgLog);

    MsgLog selectByPrimaryKey(String msgId);

}
